package com.gengzp.system.runner;

import com.gengzp.system.utils.ScheduledTaskUtils;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @ClassName SystemCommandLineRunner
 * @Description 系统服务项目启动初始化任务
 * @Author gengzp
 * @Date 2025/9/29 17:19
 */
@Component
public class SystemCommandLineRunner implements CommandLineRunner {

    @Override
    public void run(String... args) throws Exception {
        // 开启系统定时任务执行任务
        ScheduledTaskUtils.startScheduledTaskExecutor();
    }

}
